/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package ac.engin.setting;
/**
 *
 * @author ismail
 */
public class dataSetting {

    ac.uitls.propertiesOperation op = new ac.uitls.propertiesOperation();
    
    public String updateSetting(String[] data) {
        String returnData = "";
        returnData += op.setProperty("dateFormat", data[0]);
        return returnData;
    }

    public String defSetting() {
        String returnData = "";
        returnData += op.setProperty("dateFormat", "dd/MM/yyyy");
        return returnData;
    }

    public String[] getSetting() {
        String[] returnData = {op.getProperty("dateFormat")};
        return returnData;
    }

}
